﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynamicTestDemo
{
    class Program
    {
        static void Main(string[] args)
        {
            var objType = DynamicTypeFactory.CreateType("Hasu", new List<string> {"A", "B", "C"});

            var props = objType.GetProperties();
            foreach (var propertyInfo in props)
            {
                Console.WriteLine(propertyInfo.Name);
            }
        }
    }
}
